package com.cn.lyl.dao;

import com.cn.lyl.model.NewsTypeModel;

import java.util.List;

public interface NewsTypeDao {

    int add(NewsTypeModel NewsTypeModel);

    int update(NewsTypeModel NewsTypeModel);

    int delete(NewsTypeModel NewsTypeModel);

    NewsTypeModel findById(int id);

    List<NewsTypeModel> findAll(NewsTypeModel NewsTypeModel);

    List<NewsTypeModel> findAll();

    NewsTypeModel findByName(NewsTypeModel lawyerRoleModel);
}
